<!doctype html>
<!-- DEBUG -->
<!-- disable offline caching in debug mode -->
<html>
<!-- /DEBUG -->
<!-- PRODUCTION
<html manifest="cache.manifest">
/PRODUCTION -->
<head>
    <link rel="icon" type="image/png" href="img/favicon.png" />
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <meta http-equiv="X-UA-Compatible" content="chrome=1" />
    <?php include_title() ?>
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>

    <script id="template-float-panel" type="text/x-jquery-tmpl">
    <div class="ui-widget ui-dialog ui-corner-all ui-widget-content float-panel no-select">
            <div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix">
                    <span class="ui-dialog-title">${title}</span>
                    <a class="ui-dialog-titlebar-close ui-corner-all" href="#" role="button">
                            <span class="ui-icon"></span>
                    </a>
            </div>
            <div class="ui-dialog-content ui-widget-content">
            </div>
    </div>
    </script>
    
    <script id="template-notification" type="text/x-jquery-tmpl">
        <div class="notification">
                {{if closeButton}}
                <a href="#" class="close-button">x</a>
                {{/if}}
                {{if title}}
                <h1 class="title">{{html title}}</h1>
                {{/if}}
                <div class="content">{{html content}}</div>
        </div>
    </script>

    <script id="template-open" type="text/x-jquery-tmpl">
        <div id="open-dialog" class="file-dialog" title="Ver Nodo">

        </div>
    </script>
    
    
     <script id="template-create" type="text/x-jquery-tmpl">
        <div id="crear-nodo" class="file-dialog" title="Crear Nodo">

        </div>
    </script>

    <script id="template-navigator" type="text/x-jquery-tmpl">
    <div id="navigator">
            <div class="active">
                    <div id="navi-content">
                            <div id="navi-canvas-wrapper">
                                    <canvas id="navi-canvas"></canvas>
                                    <div id="navi-canvas-overlay"></div>
                            </div>
                            <div id="navi-controls">
                                    <span id="navi-zoom-level"></span>
                                    <div class="button-zoom" id="button-navi-zoom-out"></div>
                                    <div id="navi-slider"></div>
                                    <div class="button-zoom" id="button-navi-zoom-in"></div>
                            </div>
                    </div>
            </div>
            <div class="inactive">
            </div>
    </div>
    </script>
    
</head>
<body>
    
    <div id="ventana"></div>
    
        <!--[if IE]>
            <script type="text/javascript" 
             src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>

            <style>
             .chromeFrameInstallDefaultStyle {
               width: 100%; /* default is 800px */
               border: 5px solid blue;
             }
            </style>

            <div id="prompt">

            </div>

            <script>
             // The conditional ensures that this code will only execute in IE,
             // Therefore we can use the IE-specific attachEvent without worry
             window.attachEvent("onload", function() {
               CFInstall.check({
                 mode: "inline", // the default
                 node: "prompt"
               });
             });
            </script>
        <![endif]-->
    
        <?php echo $sf_content ?>
    
    <!-- JS:LIB:BEGIN -->
        <script src="../../../js/mindmaps/libs/jquery-ui-1.8.11.custom.min.js"></script>
        <script src="../../../js/mindmaps/libs/dragscrollable.js"></script>
        <script src="../../../js/mindmaps/libs/jquery.hotkeys.js"></script>
        <script src="../../../js/mindmaps/libs/jquery.mousewheel.js"></script>
        <script src="../../../js/mindmaps/libs/jquery.minicolors.js"></script>
        <script src="../../../js/mindmaps/libs/jquery.tmpl.js"></script>
        <script src="../../../js/mindmaps/libs/swfobject.js"></script>
        <script src="../../../js/mindmaps/libs/downloadify.min.js"></script>
        <script src="../../../js/mindmaps/libs/events.js"></script>

        <script src="../../../js/mindmaps/MindMaps.js"></script>
        <script src="../../../js/mindmaps/Command.js"></script>
        <script src="../../../js/mindmaps/CommandRegistry.js"></script>
        <script src="../../../js/mindmaps/Action.js"></script>
        <script src="../../../js/mindmaps/Util.js"></script>
        <script src="../../../js/mindmaps/Point.js"></script>
        <script src="../../../js/mindmaps/Document.js"></script>
        <script src="../../../js/mindmaps/MindMap.js"></script>
        <script src="../../../js/mindmaps/Node.js"></script>
        <script src="../../../js/mindmaps/NodeMap.js"></script>
        <script src="../../../js/mindmaps/UndoManager.js"></script>
        <script src="../../../js/mindmaps/UndoController.js"></script>
        <script src="../../../js/mindmaps/ClipboardController.js"></script>
        <script src="../../../js/mindmaps/ZoomController.js"></script>
        <script src="../../../js/mindmaps/ShortcutController.js"></script>
        <script src="../../../js/mindmaps/HelpController.js"></script>
        <script src="../../../js/mindmaps/FloatPanel.js"></script>
        <script src="../../../js/mindmaps/Navigator.js"></script>
        <script src="../../../js/mindmaps/Inspector.js"></script>
        <script src="../../../js/mindmaps/ToolBar.js"></script>
        <script src="../../../js/mindmaps/StatusBar.js"></script>
        <script src="../../../js/mindmaps/CanvasDrawingTools.js"></script>
        <script src="../../../js/mindmaps/CanvasView.js"></script>
        <script src="../../../js/mindmaps/CanvasPresenter.js"></script>
        <script src="../../../js/mindmaps/ApplicationController.js"></script>
        <script src="../../../js/mindmaps/MindMapModel.js"></script>
        <script src="../../../js/mindmaps/NewDocument.js"></script>
        <script src="../../../js/mindmaps/OpenDocument.js"></script>
        <script src="../../../js/mindmaps/SaveDocument.js"></script>
        <script src="../../../js/mindmaps/MainViewController.js"></script>
        <script src="../../../js/mindmaps/Storage.js"></script>
        <script src="../../../js/mindmaps/Event.js"></script>
        <script src="../../../js/mindmaps/Notification.js"></script>
        <script src="../../../js/mindmaps/StaticCanvas.js"></script>
        <script src="../../../js/mindmaps/PrintController.js"></script>
        <script src="../../../js/mindmaps/ExportMap.js"></script>
    <!-- JS:LIB:END -->
    
</body>
</html>